package com.xiaowen.organization.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yf-wenhao
 * @since 2024-11-20
 */
@Getter
@Setter
@Accessors(chain = true)
public class Organization implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 组织名称
     */
    private String orgName;

    /**
     * 余额
     */
    private Long totalAmount;

    /**
     * 已经使用金额
     */
    private Long usedAmount;
}
